Skip to content

chore: HWP Previews Plugin Updates June 2026#698

Merged
josephfusco merged 16 commits into
mainfrom
chore-hwp-previews-update-june-2026
Jun 23, 2026
Merged

chore: HWP Previews Plugin Updates June 2026#698
josephfusco merged 16 commits into
mainfrom
chore-hwp-previews-update-june-2026

Conversation

@colinmurphy

@colinmurphy colinmurphy commented Jun 22, 2026

Copy link
Copy Markdown
Member

Background

Various releases were failing due to Psalm failing due to incompatibilites with some packages.

Important

We are now making PHP 8.2 the minimum PHP version.

Changes

Various packages were needed to be updated (also depreacted one removed)

  • lucatume/wp-browser 3.7.19 → 4.6.1
  • phpunit/phpunit 9.6 → 10.5
  • 10up/wp_mock removed entirely
  • FaustIntegrationTest.php — replaced WP_Mock with a small inline function stub in the WPE\FaustWP\Settings namespace; uses a $GLOBALS key the stub
    reads, so tests stay isolated
  • Psalm no longer crashes — the PHP 8.4 nullable parameter deprecation is gone since wp-browser 4.x fixed it

Also:

  • Fixes issues with activation/de-activation hooks
  • Updated test to for WordPress 7.0

@colinmurphy colinmurphy requested a review from a team as a code owner June 22, 2026 18:26
@changeset-bot

changeset-bot Bot commented Jun 22, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3ea8c43

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@wpengine/hwp-previews-wordpress-plugin Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

github-actions Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

📦 Plugin Artifacts Ready!

Download from GitHub Actions run

Available plugins:

  • ✅ hwp-previews.zip

See the "Artifacts" section at the bottom of the Actions run page

@colinmurphy colinmurphy marked this pull request as draft June 23, 2026 11:30
@colinmurphy colinmurphy marked this pull request as ready for review June 23, 2026 14:54
@josephfusco josephfusco added this pull request to the merge queue Jun 23, 2026
Merged via the queue into main with commit 6a5fe57 Jun 23, 2026
16 checks passed
@josephfusco josephfusco deleted the chore-hwp-previews-update-june-2026 branch June 23, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants